package com.dcivision.framework.taglib.channel;

import java.util.List;

import javax.servlet.jsp.PageContext;

import com.dcivision.framework.ApplicationException;

public class AjaxMessageFormatter_1 extends AjaxStandardMessageFormatter {

  public AjaxMessageFormatter_1(PageContext pageContext,int pageSize,List channelList){
    super(pageContext,pageSize,channelList);
  }

  protected String getRead() throws ApplicationException {
    StringBuffer bstr = new StringBuffer();
    bstr.append("<td>");
    this.getRead(bstr);
    bstr.append("</td>");
    return bstr.toString();
  }

  protected String getReceivedDate() throws ApplicationException {
    StringBuffer bstr = new StringBuffer();
    bstr.append("<td>");
    this.getReceivedDate(bstr);
    bstr.append("</td>");
    return bstr.toString();
  }

  protected String getSender() throws ApplicationException {
    StringBuffer bstr = new StringBuffer();
    bstr.append("<td>");
    this.getSender(bstr);
    bstr.append("</td>");
    return bstr.toString();
  }

  protected String getSubject() throws ApplicationException {
    StringBuffer bstr = new StringBuffer();
    bstr.append("<td>");
    this.getSubject(bstr);
    bstr.append("</div></td>");
    return bstr.toString();
  }

}
